/* Copyright (C) Abu Rizal, 2009.
 * 
 * This file is part of QurText.
 * 
 * QurText is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * QurText is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with QurText. If not, see <http://www.gnu.org/licenses/>.
 */
package qurtext.client;

import java.util.ArrayList;
import java.util.TreeMap;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("QurText")
public interface QurTextService extends RemoteService {
	TreeMap<Integer, ClientChapter> getAllChapterList();
	int initChapterList(int start);
	void initSectionVerses(int chapterNo, int verseNo);
	String initSectionLiterals(String start);
	String initAllLiterals(String start);
	ClientUser getCurrentUser(String currentURL);
	ArrayList<ClientSection> getAllSectionList();
	TreeMap<Integer, ClientVerse> getSectionVerseList(int chapter, int verse, int endVerse);
	ClientVerse getBasmallah();
	void saveProgress(ClientUser profile);
}
